﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Defero.Core;

namespace Defero.Core.Entities
{
    public class Bug : Entity
    {

        public Guid Guid
        {
            get;
            set;
        }

        public string Description
        {
            get;
            set;
        }

        public User Reporter
        {
            get;
            set;
        }

        public User Asignee
        {
            get;
            set;
        }

        public int Reference
        {
            get;
            set;
        }

        public Project Project
        {
            get;
            set;
        }

        public Module Module
        {
            get;
            set;
        }

        public BugStatus Status
        {
            get;
            set;
        }

        public Version Version
        {
            get;
            set;
        }

        public IEnumerable<BugChange> History
        {
            get;
            set;
        }
    }
}
